package com.cloud.freeflow.api.service;

import java.util.List;

import com.cloud.freeflow.api.entity.ProcDef;
import com.cloud.freeflow.common.exception.BizException;
import com.cloud.freeflow.common.result.QkTreeNode;

public interface ProcDefService {

	List<QkTreeNode> listProcDefTree(int bizId);

	ProcDef showDetail(long id);

	long saveUpdateProcDef(ProcDef def) throws BizException;

	long deleteProcDef(long id);

	List<ProcDef> listProcDefs(Long bizId);

}
